
                <!-- 按钮触发模态框 -->
                <button class="btn btn-primary btn-lg" data-toggle="modal" data-target="#myModal">
                    账户管理
                </button>
                <!-- 模态框（Modal） -->
                <div class="modal fade" id="myModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
                    <div class="modal-dialog" style="width:700px">
                        <div class="modal-content" ng-controller="loginCtrl as loginct">
                            <div class="modal-header">
                                <button type="button" class="close" data-dismiss="modal" aria-hidden="true">
                                    &times;
                                </button>
                                <h4 class="modal-title" id="myModalLabel">
                                    账户管理
                                </h4>
                            </div>
                            <div class="modal-body">
                                          <!--账户登陆-->
                                    <div  >
                                            <script type="text/ng-template" id="headerCheckbox.html">
                                                <input type="checkbox" ng-model="loginct.checkboxes.checked" class="select-all" value="" />
                                            </script>

                                            <form   id="loginFrom" >
                                                <div class ="row">
                                                    <!--<div class="form-group input-group-sm" >-->
                                                    <div class="col-xs-2">
                                                            <input  type="text" class="form-control "   ng-model="UserName" placeholder="用户名" >
                                                    </div>
                                                    <!--<div class="form-group input-group-sm" >-->
                                                    <div class="col-xs-3">
                                                            <input  type="text" class="form-control "   ng-model="apikey" placeholder="虚拟货币api  CTP不填" >
                                                    </div>
                                                    <!--<div class="form-group input-group-sm">-->
                                                    <div class="col-xs-2">
                                                            <input type="text" id="pass" class="form-control" ng-model="secretkey"
                                                               placeholder="secretkey">
                                                    </div>
                                                    <!--<div class="form-group input-group-sm" >-->
                                                    <div class="col-xs-2">
                                                            <select ng-init="selectqhgs = qhgs[0]" ng-model="selectqhgs" ng-options="x for x in qhgs" class="form-control"></select>
                                                    </div>
                                                    <div class="col-xs-3">
                                                            <button type="button" class="btn btn-default" ng-click="edituser(buttontitle)">{{buttontitle}}</button>
                                                           <button type="button" class="btn btn-default" ng-show="myVar" ng-click="quxiaoedit()">取消</button>
                                                    </div>
                                                </div>

                                            </form>



                                            <hr>
                                            <table ng-table class="table" >
                                                <tr ng-repeat="row in simplieList">

                                                    <td header="'headerCheckbox.html'">
                                                        <input type="checkbox" ng-model="loginct.checkboxes.items[row.id]" />
                                                    </td>
                                                    <td title="'id'" >
                                                        {{row.id}}
                                                    </td>
                                                    <td title="'用户名'" >
                                                        {{row.username}}
                                                    </td>
                                                    
                                                    <td  title = "'key'">
                                                        {{row.apikey| textLengthSet:true:10:' ...'}}
                                                    </td >
                                                    <td  title = "'密码'"     >
                                                        {{row.secretkey}}
                                                    </td >
                                                    <td  title = "'期货公司'"    >
                                                        {{row.Futures}}

                                                    </td >
                                                    <td title = "'仓位类型'">
                                                        {{row.positiontype}}
                                                    </td>
                                                     <td  title = "'状态'"    >
                                                        <span ng-class="row.statusClass">{{ row.status }}</span>
                                                    </td >
                                                    <td  title = "'操作'"    >
                                                        <button type="button"  class="btn btn-info" ng-click="edituser(row.id)">修改</button>
                                                        <button type="button" class="btn btn-danger" ng-click="removeuser(row, $event)">删除</button>
                                                    </td >

                                                </tr>
                                            </table>

                                    </div>
                            </div>
                            <div class="modal-footer">
                                <button type="button" class="btn btn-default" data-dismiss="modal">关闭
                                </button>
                                <button type="button" class="btn btn-primary" ng-click="loginuser()">
                                    启动
                                </button>
                                <button type="button" class="btn btn-primary">
                                    选择
                                </button>
                            </div>
                        </div><!-- /.modal-content -->
                    </div><!-- /.modal -->
                </div>
